home *** CD-ROM | disk | FTP | other *** search
- /*
- SongPlayerCLI v1.52 (by Gareth Griffiths)
- E-Mail: gazchap@btinternet.com
- Count.rexx - Counts number of files in the playlist.
- */
-
- IF ~SHOW('P','SONGPLAYER.1') THEN DO
- ADDRESS COMMAND
- SAY "Can't find ARexx port 'SONGPLAYER.1'"
- EXIT
- END
-
- ADDRESS 'SONGPLAYER.1'
- OPTIONS RESULTS
- 'GET_COUNT'
- count=result
- ADDRESS COMMAND
- SAY 'Number of files in the loaded playlist: 'count'.'
- EXIT